package com.seed.core.enumeration;

import com.mybatisflex.annotation.EnumValue;

public enum StatType {
    count("count", "数量"),
    sum("sum", "求和"),
    avg("avg", "平均值"),
    min("min", "最小值"),
    max("max", "最大值");

    private final String value;
    private final String label;

    StatType(String value, String label) {
        this.value = value;
        this.label = label;
    }

    @EnumValue
    public String getValue() { return value; }

    public String getLabel() {
        return label;
    }
}
